<div class="top-bar">
  <h1>Index admins</h1>
  <div class="breadcrumbs">
    <%= link_to 'admins', :controller => :admins, :action => :index %> / 
    index 
  </div>
</div><br />
<div align="right"><%= link_to 'New admin' + image_tag("/images/adminpage/add-icon.gif", :size => "16x16", :alt => "Add"), new_admin_path %></div>
<div class="table">
  <img src="/images/adminpage/bg-th-left.gif" width="8" height="7" alt="" class="left" />
  <img src="/images/adminpage/bg-th-right.gif" width="7" height="7" alt="" class="right" />
  <table class="listing form" cellpadding="0" cellspacing="0">
    <tr>
      <th class="last" width="80">Operation</th>
    </tr>
<% for admin in @admins %>
    <tr <%= cycle('class="bg"', "") %> >
      <td class="last">
        <%= link_to image_tag("/images/adminpage/magnifier.png", :size => "16x16", :alt => "Show"), admin %>
        <%= link_to image_tag("/images/adminpage/edit-icon.gif", :size => "16x16", :alt => "Edit"), edit_admin_path(admin) %>
        <%= link_to image_tag("/images/adminpage/delete.png", :size => "16x16", :alt => "Destroy"), admin, :confirm => 'Are you sure?', :method => :delete %>
      </td>
    </tr>
<% end %> 

    <!--  <tr class="bg"> -->
  </table>
</div>
